package com.ssm.blog.service;

import com.github.pagehelper.PageInfo;
import com.ssm.blog.pojo.Photo;

public interface PhotoService {
    void addPhoto(Photo photo);

    void deletePhotoById(Integer id);

    PageInfo<Photo> getPhotoList(Integer pageNum, Integer pageSize);
}
